package com.ruoyi.project;

import com.ruoyi.common.utils.GoogleAuthenticatorUtils;
import com.ruoyi.project.monitor.server.domain.Sys;

/**
 * Created by Administrator on 2019/10/31.
 */
public class AuthTest {
    public static void main(String args[]){
       String key= GoogleAuthenticatorUtils.createSecretKey();
       System.out.println("key:"+key);
//       boolean b= GoogleAuthenticatorUtils.verify("ttfaqes6zbw4hflmdvkh2mgafykkgt5w","738837");
//        System.out.println("b:"+b);
    }
}
